package com.kapcb.statemachine.builder;

import com.kapcb.statemachine.Condition;

/**
 * <a>Title: On </a>
 * <a>Author: kapcb <a>
 * <a>Description: On <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/7/24 21:24
 * @since 1.0
 */
public interface On<S, E, C> extends When<S, E, C> {

    /**
     * Add condition for the transition
     * @param condition transition condition
     * @return When clause builder
     */
    When<S, E, C> when(Condition<C> condition);

}
